import QtQuick 2.5
import QtQuick.Window 2.0

Item {
    id:root
    width: parent.width
    height: parent.height

    Image{
        id:bg
        source:"qrc:/imgs/camera/smartHomeIcons/camera/bg.png"
        anchors.fill: parent
    }

    //bottom bar
    Image {
        id: bottombar
        source: "qrc:/imgs/control/smartHomeIcons/control/bottom_bar.png"
        width: parent.width
        height: 60*Device.dentisty
        fillMode: Image.PreserveAspectCrop
        anchors.bottom: parent.bottom

        Row{
            anchors.centerIn: parent
            spacing: (parent.width-5*40*Device.dentisty)/6

            Image {
                id: captureBnt
                source: "qrc:/imgs/camera/smartHomeIcons/camera/bnt_capure.png"
                width: 40*Device.dentisty
                height:width
            }

            Image {
                id: frontCameraSwitcher
                source: "qrc:/imgs/camera/smartHomeIcons/camera/bnt_front_camera_off.png"
                width: 40*Device.dentisty
                height:width
            }

            Image {
                id: voiceSwitcher
                source: "qrc:/imgs/camera/smartHomeIcons/camera/bnt_voice_on.png"
                width: 40*Device.dentisty
                height:width
            }

            Image {
                id: cutBnt
                source: "qrc:/imgs/camera/smartHomeIcons/camera/bnt_cut.png"
                width: 40*Device.dentisty
                height:width
            }

            Image {
                id: shareBnt
                source: "qrc:/imgs/camera/smartHomeIcons/camera/bnt_share.png"
                width: 40*Device.dentisty
                height:width
            }

        }
    }


}
